<?php
namespace app\model;

use support\Model;

class ProductSkuModel extends Model
{
    protected $table = 'product_skus';
    
    protected $fillable = ['product_id', 'code', 'name', 'image', 'specs', 'price', 'original_price', 'cost_price', 'stock', 'sales', 'weight', 'volume', 'is_default', 'status', 'created_at', 'updated_at'];
    
    protected $hidden = [''];
    
    protected $casts = array (
  'specs' => 'array',
  'created_at' => 'datetime',
  'updated_at' => 'datetime',
);
} 